import { Component, Input, OnInit } from '@angular/core';
import { SidebarService } from '../@core/services/sidebar.service';

@Component({
  selector: 'app-pages',
  templateUrl: './pages.component.html',
  styleUrls: ['./pages.component.scss'],
})
export class PagesComponent implements OnInit {
  menu: any;
  constructor(private sidebarService: SidebarService) {}

  ngOnInit() {
    this.menu = this.sidebarService.getMenuList();
  }
}
